/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DayEnum extends StringEnum
{
    public static final String FROM_VALUE = "1";
    public static final String AFTER_VALUE = "2";

    public static final DayEnum from = new DayEnum("from", FROM_VALUE);
    public static final DayEnum after = new DayEnum("after", AFTER_VALUE);

    /**
     * construct function
     * @param String dayEnum
     */
    private DayEnum(String name, String dayEnum)
    {
        super(name, dayEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DayEnum getEnum(String dayEnum)
    {
        return (DayEnum)getEnum(DayEnum.class, dayEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DayEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DayEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DayEnum.class);
    }
}